package master.photo.service.impl;

import master.photo.dao.GenericDAO;
import master.photo.domain.security.UserRole;
import master.photo.service.UserRoleService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserRoleServiceImpl implements UserRoleService {

	@Autowired
	private GenericDAO genericDAO;

	@Override
	public UserRole load(long id) {
		return genericDAO.load(UserRole.class, id);
	}

}
